{template "","header"}
<!--main-->
<div id="main">
	<div id="page">
		<div class="left">
			<div class="picList">
				<div class="listTop">
					<form action="" method="GET" id="productListForm">
					<ul class="l">
						总有<span class="green b">{$content_total}</span>条相关信息　
						排序：<select name="sortkey" onchange="$('#productListForm').submit();"><option value="updatetime" {if $_GET[sortkey]=="updatetime"}selected{/if}>更新时间</option><option value="ordernum" {if $_GET[sortkey]=="ordernum"}selected{/if}>加入清单次数</option><option value="viewnum" {if $_GET[sortkey]=="viewnum"}selected{/if}>点击次数</option><option value="goodnum" {if $_GET[sortkey]=="goodnum"}selected{/if}>好评次数</option></select>
						每页显示<select name="num" onchange="$('#productListForm').submit();"><option value=30 {if $_GET[num] == 30}selected{/if}>30</option><option value=60  {if $_GET[num] == 60}selected{/if}>60</option><option value=100  {if $_GET[num] == 100}selected{/if}>100</option></select>条
					</ul>
					</form>
					<ul class="r">
						<a href="javascript:void(0);" onclick="location.reload();">Reset</a>
					</ul> 
					<ul class="clearit"></ul>
				</div>
				<div class="listCo">
					<ul>
					{loop $product_data $r}
						<li>
							<a href="{$r[thumb]}#{$r[id]}" rev="{thumb($r[thumb], 320, 200)}" class="image" rel="photoGroup" title="{$r[title]}"><img src="{IMG_PATH}108wo/pic_mask.png" /></a>
							<p>
								<span><a href="javascript:void(0);" onclick="$(this).parent().parent().prev().click();">{$r[title]}</a></span>
								<a href="javascript:void(0);" onclick="dianping(this, 'good', {$r[id]}, 13)">好</a>[<font class="good">{$r[goodnum]}</font>]<a href="javascript:void(0);" onclick="dianping(this, 'bad', {$r[id]}, 13)">差</a>[<font class="bad">{$r[badnum]}</font>]
							</p>
							<a href="javascript:void(0);" onclick="addOrder({$r[id]})" class="btn"></a>
						</li>
					{/loop}
					</ul>
				</div>
				<div class="clearit"></div>
				{if $product_pages}
				<div class="pageList">
					{$product_pages}
				</div>
				{/if}
				{/pc}
			</div>	
		</div>
		{template "content","side_right"}
		<div class="clearit"></div>
	</div>
</div>
{template "","footer"}